import { ApiProperty } from "@nestjs/swagger";
import { IsDefined } from "class-validator";

export class UpdateDictDto {
	@ApiProperty({description: '字典名称', type: Number})
	@IsDefined()
	id: number

	@ApiProperty({description: '字典值', type: String})
	@IsDefined()
	value: string
}